<td>
    {|if $gravatar|}
        <img src="{|$gravatar|}" width="32" height="32" />
    {|/if|}
</td>